--
-- Cambios solicitados por EDU para regeneracion de CTB - 17/7/2023
--

DROP TRIGGER artm_020_del_preultcompra ON public.artm;
DROP TRIGGER artm_020_upd_preultcompra ON public.artm;



CREATE TRIGGER artm_020_del_preultcompra
    AFTER DELETE 
    ON public.artm
    FOR EACH ROW
    EXECUTE PROCEDURE public.tg_artm_preultcompra();
    

CREATE TRIGGER artm_020_upd_preultcompra
    AFTER UPDATE
    ON public.artm
    FOR EACH ROW
    EXECUTE PROCEDURE public.tg_artm_preultcompra();

--
SELECT aaversion('498.04','498.03');
--

